package com.example.android.ui.addHB;

import com.example.android.network.RetrofitClientLocal;
import com.example.android.network.service.HBService;

import io.reactivex.rxjava3.core.Flowable;
import okhttp3.RequestBody;

public class AddHBModel implements AddHBContract.IAddHBModel {
    @Override
    public Flowable<Boolean> addHB(RequestBody body) {
        return RetrofitClientLocal.getInstance().getService(HBService.class).addHB(body);
    }
}
